package com.mlog.njyjy.ndop.monitor.dao.entity;

import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author hxy
 * @since 2020-08-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class TMonitorHost implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * zabbix hostid
	 */
	@TableId
	private String hostid;

	/**
	 * zabbix name
	 */
	private String name;

	private String ip;

	/**
	 * zabbix groupid
	 */
	private String groupid;

	/**
	 * 1 关注 0不关注
	 */
	private Boolean follow;

	private String description;

	/**
	 * 责任人id
	 */
	private int maintainer;
	
	/**
	 * 计算机名
	 */
	private String host;
	
	/**
	 * 0 - (default) unknown;（默认）未知；1 - available; 可用；2 - unavailable.失效
	 */
	private String available;
	
	/**
	 * system.uname
	 */
	private String uname;
	
	/**
	 * 特别关注
	 */
	private Boolean focus;
}
